package ch3;

import java.util.Scanner;

public class Mingci2 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("名次是多少？");
		String level = in.next();
		// 根据名次给奖励
		switch (level) {
		case "第一": {
			System.out.println("参加夏令营");
			break;
		}
		case "第二": {
			System.out.println("hp笔记本");
			break;
		}
		case "第三": {
			System.out.println("移动硬盘");
			break;
		}
		default: {
			System.out.println("没有奖励");
			break;
		}
		}
	}

}
